package com.yj.suncity.bean;

import org.json.JSONObject;

public class GoodsBean {
	
	private String id;// ": "FFA7AA7A-C5D4-49A3-86A5-383B717dc865",
	private String goods_title;// ": "华硕笔记本电脑",
	private String goods_price;// ": "3000",
	private String img_url;// ": "1.jpg,2.jpg",
	private String good_num;// ": "50",
	private String silver_num;// ": "5000",
	private String silver_money;// ": "0",
	private String goods_address;// ": "凯撒大道300号"
	
	
	
	private String recordid;//": "8fcadce5-309c-4f1a-8a4f-b9e94f019d57",
	private String change_userid;//": "654321",
	private String change_username;//": "亮亮",
	private String createtime;//": "1428054933",
	private String state;//": "2",
	private String pwd;//": "",
	private String goods_type;//": "1",
    private String release_type;//": "1",
    private String real_price;//": "3500",
    private String silver_goodsnum;//": "0",
    private String surplus_num;//": "50",
    private String create_datetime;//": "1427990400",
    private String user_id;//": "1",
    private String zhaiyao;//": "",
    private String goods_content;//": "华硕超薄笔记本",

	public GoodsBean(JSONObject json) {
		this.id = json.optString("id");
		this.goods_title = json.optString("goods_title");
		this.goods_price = json.optString("goods_price");
		this.img_url = json.optString("img_url");
		this.good_num = json.optString("good_num");
		this.silver_num = json.optString("silver_num");
		this.silver_money = json.optString("silver_money");
		this.goods_address = json.optString("goods_address");
		
		this.recordid = json.optString("recordid");
		this.change_userid = json.optString("change_userid");
		this.change_username = json.optString("change_username");
		this.createtime = json.optString("createtime");
		this.state = json.optString("state");
		this.pwd = json.optString("pwd");
		this.goods_type = json.optString("goods_type");
		this.release_type = json.optString("release_type");
		this.real_price = json.optString("real_price");
		this.silver_goodsnum = json.optString("silver_goodsnum");
		this.surplus_num = json.optString("surplus_num");
		this.create_datetime = json.optString("create_datetime");
		this.user_id = json.optString("user_id");
		this.zhaiyao = json.optString("zhaiyao");
		this.goods_content = json.optString("goods_content");

	}

	public String getRecordid() {
		return recordid;
	}



	public String getChange_userid() {
		return change_userid;
	}



	public String getChange_username() {
		return change_username;
	}



	public String getCreatetime() {
		return createtime;
	}



	public String getState() {
		return state;
	}



	public String getPwd() {
		return pwd;
	}



	public String getGoods_type() {
		return goods_type;
	}



	public String getRelease_type() {
		return release_type;
	}



	public String getReal_price() {
		return real_price;
	}



	public String getSilver_goodsnum() {
		return silver_goodsnum;
	}



	public String getSurplus_num() {
		return surplus_num;
	}



	public String getCreate_datetime() {
		return create_datetime;
	}



	public String getUser_id() {
		return user_id;
	}



	public String getZhaiyao() {
		return zhaiyao;
	}



	public String getGoods_content() {
		return goods_content;
	}



	public String getId() {
		return id;
	}

	public String getGoods_title() {
		return goods_title;
	}

	public String getGoods_price() {
		return goods_price;
	}

	public String getImg_url() {
		return img_url;
	}

	public String getGood_num() {
		return good_num;
	}

	public String getSilver_num() {
		return silver_num;
	}

	public String getSilver_money() {
		return silver_money;
	}

	public String getGoods_address() {
		return goods_address;
	}

}
